Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
@casual-simulation/aux-runtime
Advanced tools
A library that contains common operations needed to modify and understand AUX files.
$ npm install @casual-simulation/aux-common
import {
createBot,
createCalculationContext,
calculateFormulaValue,
} from '@casual-simulation/aux-common';
const file1 = createBot('test1', {
quantity: 10,
});
const file2 = createBot('test2', {
quantity: 5,
});
const file3 = createBot('test3', {
quantity: 5,
});
const context = createCalculationContext([file1, file2, file3]);
const formula = '=math.sum(getBotTagValues("#quantity"))';
const result = calculateFormulaValue(context, formula);
console.log(result);
// Outputs:
// 20
import {
createBot,
createCalculationContext,
calculateFormulaEvents,
} from '@casual-simulation/aux-common';
const state = {
test1: createBot('test1', {
quantity: 10,
}),
test2: createBot('test2', {
quantity: 5,
}),
test3: createBot('test3', {
quantity: 5,
}),
};
const formula = `
let total = math.sum(getBotTagValues("#quantity"));
player.toast("The total is " + total);
`;
const events = calculateFormulaEvents(state, formula);
for (let event of events) {
if (event.type === 'local') {
if (event.name === 'show_toast') {
console.log('[Toast]', event.message);
}
}
}
// Outputs:
// [Toast] The total is 5
V3.3.15
<video>
HTML custom app elements.
autoplay
attribute to automatically play video from a track.LivekitManager
where media permissions for the camera and microphone were not requested before joining a room. Resulting in silent fails for Google Chrome users. The joinRoom
method now includes a preliminary step to check and request these permissions, ensuring a smoother user experience.FAQs
Runtime for AUX projects
We found that @casual-simulation/aux-runtime demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.